var WallView = Class.extend({
	wall : null, // Wall
	
	el   : null, // jQuery element
	
	init: function(wall)
	{
		this.wall = wall;
		
		this.el = $('<div class="wall" />');
		$("body").append(this.el);
		
		// -webkit-transform: rotate(20deg);
		this.el.css({
			width  : "1px",
			height : this.wall.getLength () + "px",
			top    : (this.wall.getMiddleY() - this.wall.getLength()/2) +"px",
			left   : this.wall.getMiddleX() + "px",
			"-webkit-transform": "rotate("+
				(90+Utils.radToDeg(this.wall.getAngle()))+"deg)"
		});
	}
});
